// pages/recordjl/recordjl.js
const app = getApp();
Page({

  data: {
    notify: [
      {
        img   : "",
        name  : "",
        date  : "",
        money : ""
      },
    ] 
  },
  onLoad: function (options) {
  
  },
  onReady: function () {
  
  },
  onShow: function () {
    var that = this;
    var uid = wx.getStorageSync('uid');
    wx.request({
      url: app.url + '/Reback/reback_lists_all',
      data: { uid: uid },
      method: 'post',
      success: function (res) {
        if(res.data.code == 1){
          that.setData({
            notify: res.data.data
          })
        }
      },
      error: function () { }
    })
  },
  onHide: function () {
  
  },
  onUnload: function () {
  
  },
  onPullDownRefresh: function () {
  
  },
  onReachBottom: function () {
  
  },
  onShareAppMessage: function () {
  
  }
})